﻿<%@ Page language="C#" MasterPageFile="~/_catalogs/masterpage/Eneta.Business.master" Inherits="Eneta.Portal.Companies.CompanyEditPage, Eneta.Portal.Companies, Version=1.0.0.0, Culture=neutral, PublicKeyToken=53d887a3f906cc2b" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="Toolbar" Src="/_controltemplates/Toolbar.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server" >
		<asp:Literal runat="server" ID="titleLabel"></asp:Literal>
</asp:Content>	
<asp:Content ID="Content2" ContentPlaceHolderId="PlaceHolderMain" runat="server">
<style type="text/css">
.Offices
{
	float:left;
}
.Offices td
{
 	max-width:80px;
 	width:80px;
}
.file-input-area-2
{
	height: 24px;
left: 97px;
position: absolute;
top: -1px;
width: 139px;
float: left;
font-size: 12px;
line-height: 15px;
margin: 0px 8px 0px 0px;
padding: 1px 4px 2px;
border: none;
opacity: 0;
}
</style>
<div class="content-info-area"> 
&nbsp;<div class="slide-box warning" runat="server" id="warningBox" style="display:none"> 
	<div class="slide-box-center"> 
		<div class="slide-box-bottom"> <!--a class="close" href="#">close</a--> 
			<div> 
				<p>Palun paranda vead, vastavad väljad on märgitud punase raamiga.</p> 
				<ul>
				<asp:Repeater runat="server" ID="errorsRepeater">
					<ItemTemplate>
						<li><asp:Label runat="server" ID="errorLabel" ></asp:Label></li>
					</ItemTemplate>
				</asp:Repeater>
				</ul>
			</div> 
		</div> 
	</div> 
</div> 
<input type="hidden" runat="server" id="fromUrlField" /><div class="enter-information"> 
		<fieldset> 
			<div class="input-holder" style="background-color:white"> 
				<div class="info-row" runat="server" id="fileNameContainer" style="display:none"> 
					<div class="title"> 
						<h5>Faili nimi</h5> 
					</div> 
					<div class="information-main"> 
						<asp:Label runat="server" ID="fileNameLabel"></asp:Label>
					</div> 
				</div> 
				<div class="info-row" runat="server" id="nameContainer"> 
					<div class="error-message" runat="server" id="nameErrorMessage" style="display:none"> 
						<span runat="server" id="nameErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Firma nimi</h5> 
					</div> 
					<div class="error-note" runat="server" id="nameErrorNote"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" id="nameField" CssClass="text-go"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=CompanyName&width=216" runat="server" id="nameTooltipLink" name="Help" class="jTip">?</a> 
					</div> 
				</div> 
				<div class="info-row foto-inp" runat="server" id="logoContainer"> 
					<div class="error-message" runat="server" id="logoErrorMessage" style="display:none"> 
						<span runat="server" id="logoErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Suur logo</h5> 
					</div> 
					<div class="error-note" runat="server" id="logoErrorNote" style="display:none"> <span>*</span></div>
					<div class="information-main"> 
						<asp:FileUpload runat="server" ID="logoUpload" CssClass="file-input-area" style="opacity:0;margin:0px;padding:0px;left:0px;width:240px;-ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)';filter: alpha(opacity=0);"></asp:FileUpload>
						<div class="box-layout"> 
							<div class="inp-center"> 
								<input class="clear" type="text" value="kuni 200x120 px" />
							</div> 
						</div> 
						<div class="btn-browse">Browse...</div>
						<img src="#" runat="server" id="logoExample" vspace="5" />
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=LargeLogo&width=216" runat="server" id="largeLogoTooltipLink" name="Help" class="jTip">?</a> 
					</div> 
				</div> 
				<div class="info-row" id="descriptionContainer" runat="server"> 
					<div class="error-message" runat="server" id="descriptionErrorMessage" style="display:none"> 
						<span runat="server" id="descriptionErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Tutvustus</h5> 
					</div> 
					<div class="error-note" runat="server" id="descriptionErrorNote"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="descriptionField" TextMode="MultiLine" Columns="30" Rows="5" style="height:100px"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=Description&width=216" runat="server" id="descriptionTooltipLink" name="Help" class="jTip">?</a> 
					</div> 
				</div> 
				<div class="info-row" id="streetContainer" runat="server"> 
					<div class="error-message" runat="server" id="streetErrorMessage" style="display:none"> 
						<span runat="server" id="streetErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Tänav</h5> 
					</div> 
					<div class="error-note" runat="server" id="streetErrorNote"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="streetField" CssClass="text-go clear" Text="Tänav 123"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=Street&width=216" runat="server" id="streetTooltipLink" name="Help" class="jTip">?</a> 
					</div> 
				</div> 
				<div class="info-row" id="zipContainer" runat="server"> 
					<div class="error-message" runat="server" id="zipErrorMessage" style="display:none"> 
						<span runat="server" id="zipErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Indeks</h5> 
					</div> 
					<div class="error-note" runat="server" id="zipErrorNote"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="zipField" CssClass="text-go"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=Zip&width=216" runat="server" id="zipTooltipLink" name="Help" class="jTip">?</a> 
					</div> 
				</div> 
				<div class="info-row" id="cityContainer" runat="server"> 
					<div class="error-message" runat="server" id="cityErrorMessage" style="display:none"> 
						<span runat="server" id="cityErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Linn</h5> 
					</div> 
					<div class="error-note" runat="server" id="cityErrorNote"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="cityField" CssClass="text-go"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=City&width=216" runat="server" id="cityTooltipLink" name="Help" class="jTip">?</a> 
					</div> 
				</div> 
				<div class="info-row" id="officesContainer" runat="server"> 
					<div class="error-message" runat="server" id="officesErrorMessage" style="display:none"> 
						<span runat="server" id="officesErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Kontorid</h5> 
					</div> 
					<div class="error-note" runat="server" id="officesErrorNote"> <span>*</span></div>
					<div class="information-main"> 
						<asp:CheckBoxList CssClass="Offices" runat="server" ID="officesList" RepeatLayout="Table" RepeatColumns="3" DataTextField="Title" DataValueField="ID">
						
						</asp:CheckBoxList>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=Offices&width=216" runat="server" id="officesTooltipLink" name="Help" class="jTip">?</a>
					</div> 
				</div> 
                <div class="info-row" runat="server" id="urlContainer"> 
					<div class="error-message" runat="server" id="urlErrorMessage" style="display:none"> 
						<span runat="server" id="urlErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Veebileht</h5> 						
					</div> 
					<div class="error-note" runat="server" id="urlErrorNote"> <span>*</span></div>					
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="urlField" CssClass="text-go" value="http://"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=HomePage&width=216" runat="server" id="homaPageTooltipLink" name="Help" class="jTip" style="float:left;">?</a>
					</div> 
				</div> 
				<div class="info-row"> 
					<div class="title"> 
						<h5>Töötajaid Eestis</h5> 
					</div> 
					<div class="information-main"> 
						<asp:DropDownList runat="server" ID="employeesList" CssClass="text-go"></asp:DropDownList>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=Employees&width=216" runat="server" id="employeesTooltipLink" name="Help" class="jTip" style="float:none">?</a></div> 
				</div> 
				<div class="info-row" id="certContainer" runat="server"> 
					<div class="error-message" runat="server" id="certErrorMessage" style="display:none"> 
						<span runat="server" id="certErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>MS sertifitseeritud</h5> 
					</div> 
					<div class="error-note" runat="server" id="certErrorNote" style="display:none"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="certifiedEmployeesField" Text="0"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=Certified&width=216" runat="server" id="certifiedTooltipLink" name="Help" class="jTip" style="float:left;">?</a></div> 
				</div> 
				<div class="info-row"> 
					<div class="title"> 
						<h5>Partnerluse tase</h5> 
					</div> 
					<div class="information-main"> 
						<asp:DropDownList runat="server" ID="partnershipLevel" CssClass="text-go"></asp:DropDownList>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=PartnershipLevel&width=216" runat="server" id="partnershipTooltipLink" name="Help" class="jTip" style="float:none;">?</a></div> 
				</div> 
				<div class="info-row" id="contactContainer" runat="server"> 
					<div class="error-message" runat="server" id="contactErrorMessage" style="display:none"> 
						<span runat="server" id="contactErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Kontaktisik</h5> 
					</div> 
					<div class="error-note" runat="server" id="contactErrorNote" style="display:none"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="contactField" CssClass="text-go"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=ContactName&width=216" runat="server" id="contactNameTooltipLink" name="Help" class="jTip" style="float:left;">?</a></div> 
				</div> 
				<div class="info-row" id="contactEmailContainer" runat="server"> 
					<div class="error-message" runat="server" id="contactEmailErrorMessage" style="display:none"> 
						<span runat="server" id="contactEmailErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Kontaktisiku e-post</h5> 
					</div> 
					<div class="error-note" runat="server" id="contactEmailErrorNote" style="display:none"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="contactEmailField" CssClass="text-go"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=ContactEmail&width=216" runat="server" id="contactEmailTooltipLink" name="Help" class="jTip" style="float:none;">?</a>
					</div> 
				</div> 
				<div class="info-row" id="contactPhoneContainer" runat="server"> 
					<div class="error-message" runat="server" id="contactPhoneErrorMessage" style="display:none"> 
						<span runat="server" id="contactPhoneErrorLabel"></span> 
					</div> 
					<div class="title"> 
						<h5>Kontaktisiku telefon</h5> 
					</div> 
					<div class="error-note" runat="server" id="contactPhoneErrorNote" style="display:none"> <span>*</span></div>
					<div class="information-main"> 
						<asp:TextBox runat="server" ID="contactPhoneField" CssClass="text-go clear" value="123 456789"></asp:TextBox>
						<a href="/_layouts/enetahandlers/tooltiphandler.ashx?pg=CompanyEdit&area=ContactPhone&width=216" runat="server" id="contactPhoneTooltipLink" name="Help" class="jTip" style="float:none;">?</a>
					</div> 
				</div> 
			</div>
			
			<h3 style="font-size:16px;font-weight:bold;">Kompetentsid <div class="error-note" style="float:none;margin-left:0px;"> <span>*</span></div></h3>
			
			<p>Palun märgi valdkonnad, milles täna pakute Microsofti toodetel põhinevaid teenuseid või lahendusi.
			Valdkondade jaotus põhineb <a href="http://microsoftio.partnersalesresources.com/">Microsofti infrastruktuuri optimeerimise</a>&nbsp;(IO) mudelil.</p>
			<table border="0" cellpadding="0" cellspacing="5" width="100%">
			<tr>
			<td valign="top">
			<asp:Repeater runat="server" ID="IOLevel1Repeater">
				<ItemTemplate>
					<table width="100%" cellpadding="0" cellspacing="0" style="border-right:2px solid rgb(234,244,249);margin-bottom:20px;">
					<tr>
					<th colspan="2" 
						style="border:2px solid rgb(234,244,249);background-color:rgb(234,244,249);height:24px;text-align:left;font-size:14px;padding-left:8px;"><asp:Label runat="server" id="IOLevel1Label"></asp:Label></th>					
					</tr>
					<asp:Repeater runat="server" ID="IOLevel2Repeater">
					<ItemTemplate>
						<asp:Repeater runat="server" ID="IOTopicRepeater">
							<ItemTemplate>
								<tr>
								<td style="padding-left:8px;border-bottom:1px solid rgb(234,244,249);" valign="middle"><asp:CheckBox Style="width:20px" runat="server" ID="IOTopicCheckBox"></asp:CheckBox></td>
								<td width="100%" valign="top" style="padding-top:5px;padding-bottom:5px;padding-right:5px;border-bottom:1px solid rgb(234,244,249);">
									<asp:Label runat="server" ID="IOTopicLabel"></asp:Label>
									<a href="/_layouts/enetahandlers/iotooltiphandler.ashx?l3=1" runat="server" id="tooltipLink" name="Help" class="jTip" style="margin:0px;margin-left:5px;padding:0px;float:none;" tabindex="8">?</a><br/>
									<asp:Label Font-Bold="true" Font-Size="8pt" runat="server"  ID="RequiredProductsLabel"></asp:Label> 
									<asp:Repeater runat="server" ID="RequiredProductsRepeater">
									<ItemTemplate>
										<asp:Label Font-Size="8pt" runat="server" ID="ProductLabel"></asp:Label><a style="font-size:8pt" href="#" runat="server" id="ProductLink"></a>
									</ItemTemplate>
									<SeparatorTemplate>, </SeparatorTemplate>
									</asp:Repeater>
								</td>
								</tr>
							</ItemTemplate>
						</asp:Repeater>
					</ItemTemplate>
					</asp:Repeater>
					</table>
				</ItemTemplate>
			</asp:Repeater>
			</td>
			</tr>
			</table>
			
			<div class="submit"> 
				<asp:Button runat="server" id="saveButton" Text="Salvesta"></asp:Button>
			</div> 
			<a class="loobu" href="#" runat="server" id="cancelLink">Loobu</a></fieldset></div>
	&nbsp;</div>
<script>
initCustomFile();
</script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderId="PlaceHolderTitleLeftBorder" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderTitleAreaClass" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderId="PlaceHolderBodyAreaClass" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderId="PlaceHolderBodyLeftBorder" runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderId="PlaceHolderTitleRightMargin" runat="server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderId="PlaceHolderBodyRightMargin" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderId="PlaceHolderTitleAreaSeparator" runat="server"/>